using NFreeMarker.Template;

namespace NFreeMarker.Core
{
    internal abstract class BooleanExpression : Expression
    {
        protected override ITemplateModel _getAsTemplateModel(Environment env)
        {
            return IsTrue(env) ? TemplateBooleanModel.True : TemplateBooleanModel.False;
        }
    }
}